/*
 * CustomerBO.java
 *
 * Created on February 12, 2007, 9:10 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.group1E.data;

/**
 *
 * @author tkulbeth
 */
public class AreaOfInterestBO {
    
    private String AOI_ID;
    private String description;
    private boolean alreadyInDB;
    private boolean isDirty;
    
    /** Creates a new instance of AreaOfInterestBO */
    AreaOfInterestBO(String AOI_ID) {
        setAOI_ID(AOI_ID);
        setIsDirty(true);
    }
    
    /** Creates a new instance of AreaOfInterestBO */
    AreaOfInterestBO(String AOI_ID, String description) {
        setAOI_ID(AOI_ID);
        setDescription(description);
    }

    public String getAOI_ID() {
        return AOI_ID;
    }

    public void setAOI_ID(String AOI_ID) {
        setIsDirty(true);
        this.AOI_ID = AOI_ID;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        setIsDirty(true);
        this.description = description;
    }

    public boolean isAlreadyInDB() {
        return alreadyInDB;
    }

    public void setAlreadyInDB(boolean alreadyInDB) {
        setIsDirty(true);
        this.alreadyInDB = alreadyInDB;
    }

    public boolean isIsDirty() {
        return isDirty;
    }

    public void setIsDirty(boolean isDirty) {
        this.isDirty = isDirty;
    }
}
